package com.cens.mall.commodity.vo;

import com.cens.mall.commodity.entity.SkuImagesEntity;
import com.cens.mall.commodity.entity.SkuInfoEntity;
import com.cens.mall.commodity.entity.SpuInfoDescEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SkuItemVo {
    //查询sku基本信息
    SkuInfoEntity info;
    boolean hasStock;
    //查询sku图片信息
    List<SkuImagesEntity> images;
    //查询spu销售组合
    List<SkuItemSaleAttrVo> saleAttrs;
    //获取spu介绍
    SpuInfoDescEntity desc;
    //获取spu规格参数信息
    List<SpuItemAttrGroupVo> groupAttrs;
    //秒杀信息
    SeckillSessionVo seckillSession;
}
